package com.mwh.yuantu.dao;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mwh.yuantu.dao.mapper.WebInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.mwh.yuantu.entity.WebInfoEntity;

/**
 * (WebInfo)表数据库访问层
 *
 * @author maweihong
 * @since 2023-11-01 09:47:34
 */
@Service
public class WebInfoDao extends ServiceImpl<WebInfoMapper , WebInfoEntity> {

    @Autowired
	private WebInfoMapper webInfoMapper;

    /**
     * 查询网站信息
     * @return
     */
    public WebInfoEntity select(){
        return webInfoMapper.select();
    }

    /**
     * 保存站点信息配置
     * @param webInfo
     */
    public int update(WebInfoEntity webInfo){
        return webInfoMapper.update(webInfo);
    }

}

